#ifndef CBETSALARM_H
#define CBETSALARM_H

#include <QMainWindow>
#include <QStandardItemModel>

namespace Ui {
    class CBetsAlarm;
}


class QTimer;
class CSetAlarmDialog;
class CPlayAlarm;
class CBetsAlarm : public QMainWindow
{
    Q_OBJECT

public:
    explicit CBetsAlarm(QWidget *parent = 0);   
    ~CBetsAlarm();


private slots:
    void onSetAlarmButton();
    void onLoadButton();    

private:
    void addRowToModel( const QString &time, const QString &info );
    void checkAlarms();

private:
    Ui::CBetsAlarm *ui;

    CSetAlarmDialog *m_pSetAlarm;
    QStandardItemModel m_betModel;
    QTimer *checkAalarms;

    QList< CPlayAlarm* > m_myAlarms;
};

#endif // CBETSALARM_H
